home *** CD-ROM | disk | FTP | other *** search
/ Lake Powell / Lake Powell.iso / pc / glcfly.dxr / 00061.ls < prev    next >
Encoding:
Text File  |  1998-04-16  |  1.5 KB  |  74 lines

  1. on outline spritenumber
  2.   puppetSprite(18, 1)
  3.   set the castNum of sprite 18 to 115 + spritenumber
  4.   go(the frame)
  5.   abort()
  6. end
  7.  
  8. on HIdePaths
  9.   repeat with loop = 26 to 35
  10.     set the visible of sprite loop to 0
  11.   end repeat
  12. end
  13.  
  14. on ShowPaths
  15.   repeat with loop = 26 to 35
  16.     set the visible of sprite loop to 1
  17.   end repeat
  18. end
  19.  
  20. on ShowOptions
  21.   puppetSprite(18, 1)
  22.   repeat with loop = 1 to 4
  23.     set the visible of sprite (2 + loop) to 0
  24.     set the memberNum of sprite 18 to 115 + loop
  25.     updateStage()
  26.     set the visible of sprite (2 + loop) to 1
  27.     set testMe to the ticks
  28.     repeat while the ticks < (testMe + 45)
  29.       nothing()
  30.     end repeat
  31.   end repeat
  32.   puppetSprite(18, 0)
  33. end
  34.  
  35. on figureTiming
  36.   global gMovieDuration, gPathChunk, gMovTimeChunk
  37.   set gMovieDuration to the duration of member the memberNum of sprite 10
  38.   set gPathChunk to 1
  39.   set gMovTimeChunk to gMovieDuration / 10
  40. end
  41.  
  42. on transitionToandFrom
  43.   global goDest, gLastMovie
  44.   case gLastMovie of
  45.     "Mov1":
  46.       set zoomto to 26
  47.     "Mov2":
  48.       set zoomto to 27
  49.     "Mov3":
  50.       set zoomto to 28
  51.     "Mov4":
  52.       set zoomto to 29
  53.     "Mov5":
  54.       set zoomto to 30
  55.     "Mov6":
  56.       set zoomto to 31
  57.     "Mov7":
  58.       set zoomto to 32
  59.   end case
  60.   zoomBox(10, zoomto, 4)
  61.   go("intro")
  62.   puppetSprite(18, 1)
  63.   set the castNum of sprite 18 to 116 + char 4 of gLastMovie
  64.   updateStage()
  65.   set the castNum of sprite 18 to 116 + char 4 of goDest
  66. end
  67.  
  68. on stopMovie
  69.   repeat with loop = 205 to 208
  70.     set the controller of member loop to 0
  71.   end repeat
  72.   ShowPaths()
  73. end
  74.